<layout name='Layout/layout_page' />

	<ol class="breadcrumb">
		<li><a href="<{:U('Member/index')}>"><{:L('_menu_member')}></a></li>
      	<li class="active">Detail</li>
    </ol>

	<form action="<{:U('Mentors/edit')}>" method="post" class="form-horizontal form-validata">
		<input name="id" type="hidden" value="<{$list['id']}>"/>
		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Avatar</label>
			<div class="col-md-5">
				<img src="<{$list['face']|getFace=###}>" class="avatar">
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Nickname</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['nickname']}></div>
			</div>
			<label class="col-md-2 control-label" for="name">Email</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['email']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">First name</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['firstName']}></div>
			</div>
			<label class="col-md-2 control-label" for="name">Last name</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['lastName']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Gender</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['gender']}></div>
			</div>
			<label class="col-md-2 control-label" for="keyword">Birthday</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['birthday']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Phone</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['phone']}></div>
			</div>
			<label class="col-md-2 control-label">Resume</label>
			<div class="col-md-2">
				<div class="form-control-static">
					<?php if($list['resume']){ ?>
					<a href="<{$list['resume']}>">下载简历</a>
					<?php }else{ ?>
					无
					<?php } ?>
				</div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label" for="name">Training program</label>
			<div class="col-md-8">
				<div class="form-control-static train"><volist name="list['trainItem']" id="vo">
					<span><{$vo.name}></span>
					</volist></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Address</label>
			<div class="col-md-5">
				<div class="form-control-static"><{$list['address']}>,<br/><{$list['city']}>,<{$list['state']}>,Zip code <{$list['zip']}></div>
			</div>
		</div>

		
		<div class="form-group">
			<label class="col-md-2 control-label">Description</label>
			<div class="col-md-8">
				<div class="form-control-static"><{$list['description']}></div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-2 control-label">Create Date</label>
			<div class="col-md-2">
				<div class="form-control-static"><{$list['createTime']|date="F,d,Y H:i:s",###}></div>
			</div>
		</div>		
		<div class="form-group">
			<label class="col-md-2 control-label">Status</label>
			<div class="col-md-2">
				<div class="checkbox">
			        <label class="radio-inline">
					  <input <eq name="list.status" value="0">checked</eq> type="radio" name="status" value="0"> no
					</label>
					<label class="radio-inline">
					  <input <eq name="list.status" value="1">checked</eq> type="radio" name="status" value="1"> yes
					</label>
			    </div>
			</div>
		</div>
		<div class="form-group">
			<div class="col-md-10 col-sm-offset-2">
				<button type="submit" class="btn btn-info" ><{:L(_public_submit)}></button>
			</div>
		</div>
	</form>


<input type="hidden" id="menu_action" value="user" />